package com.zhuojy.equity.mall.admin.dal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhuojy.equity.mall.admin.common.entity.TUser;
import com.zhuojy.equity.mall.admin.dal.dataobject.TUserDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 后台用户自定义Mapper
 */
@Mapper
public interface TUserMapper extends BaseMapper<TUser> {

	/**
	 * 新增管理平台用户信息
	 */
	int insertUser(TUserDO tUserDO);

	/**
	 * 根据管理平台用户名查询用户信息
	 */
	TUserDO selectByUsername(String username);

}